package com.megan.design.principle.liskovsubstitution.methodinput;

import lombok.extern.slf4j.Slf4j;

import java.util.Map;

/**
 * @Author: megan
 * @Data: 2018/8/23 上午8:35
 * @Description:
 */
@Slf4j
public class Child extends Base {

//    @Override
//    public void method(HashMap map) {
//        log.info("子类hashMap被执行");
//    }

    public void method(Map map) {
        log.info("子类Map被执行");
    }
}
